﻿using DotNetExtensions.Core.IOC;
using System;

namespace CoreSimpleModel
{
    [AutoInject]
    public interface IRepository
    {
        void Write();
    }
    [Inject]
    public class Repository1 : IRepository
    {
        public void Write()
        {
            Console.WriteLine("This is Repository1");
        }
    }
}
